|
|
| spoton_crypt (const QByteArray &privateKey, const QByteArray &publicKey) |
| |
|
| spoton_crypt (const QString &cipherType, const QString &hashType, const QByteArray &passphrase, const QByteArray &symmetricKey, const int saltLength, const unsigned long int iterationCount, const QString &id) |
| |
|
| spoton_crypt (const QString &cipherType, const QString &hashType, const QByteArray &passphrase, const QByteArray &symmetricKey, const QByteArray &hashKey, const int saltLength, const unsigned long int iterationCount, const QString &id) |
| |
|
| spoton_crypt (const QString &cipherType, const QString &hashType, const QByteArray &passphrase, const QByteArray &symmetricKey, const QByteArray &hashKey, const int saltLength, const unsigned long int iterationCount, const QString &id, const QString &modeOfOperation) |
| |
|
QByteArray | decrypted (const QByteArray &data, bool *ok) |
| |
|
QByteArray | decryptedAfterAuthenticated (const QByteArray &data, bool *ok) |
| |
|
QByteArray | digitalSignature (const QByteArray &data, bool *ok) |
| |
|
QByteArray | encrypted (const QByteArray &data, bool *ok) |
| |
|
QByteArray | encryptedThenHashed (const QByteArray &data, bool *ok) |
| |
|
QByteArray | hashKey (void) |
| |
|
QByteArray | keyedHash (const QByteArray &data, bool *ok) |
| |
|
QByteArray | publicKey (bool *ok) |
| |
|
QByteArray | publicKeyDecrypt (const QByteArray &data, bool *ok) |
| |
|
QByteArray | publicKeyHash (bool *ok) |
| |
|
QByteArray | symmetricKey (void) |
| |
|
QPair< QByteArray, QByteArray > | generatePrivatePublicKeys (const QString &keySize, const QString &keyType, QString &error, const bool save_keys=true) |
| |
|
QString | cipherType (void) const |
| |
|
QString | publicKeyAlgorithm (void) |
| |
|
QString | publicKeySize (void) |
| |
|
QString | publicKeySizeMcEliece (void) |
| |
|
QString | publicKeySizeNTRU (void) |
| |
|
bool | isAuthenticated (void) |
| |
|
qint64 | publicKeyCount (void) |
| |
|
void | purgePrivatePublicKeys (void) |
| |
|
|
static QByteArray | derivedSha1Key (const QByteArray &salt, const QString &passphrase, const int hashKeySize, const unsigned long int iterationCount) |
| |
|
static QPair< QByteArray, QByteArray > | derivedKeys (const QString &cipherType, const QString &hashType, const unsigned long int iterationCount, const QString &passphrase, const QByteArray &salt, const bool singleIteration, QString &error) |
| |
|
static QPair< QByteArray, QByteArray > | derivedKeys (const QString &cipherType, const QString &hashType, const unsigned long int iterationCount, const QString &passphrase, const QByteArray &salt, const int hashKeySize, const bool singleIteration, QString &error) |
| |
|
static QByteArray | keyedHash (const QByteArray &data, const QByteArray &key, const QByteArray &hashType, bool *ok) |
| |
|
static QByteArray | publicKeyEncrypt (const QByteArray &data, const QByteArray &pk, const QByteArray &startsWith, bool *ok) |
| |
|
static QByteArray | saltedPassphraseHash (const QString &hashType, const QString &passphrase, const QByteArray &salt, QString &error) |
| |
|
static QByteArray | sha1FileHash (const QString &fileName) |
| |
|
static QByteArray | sha1FileHash (const QString &fileName, QAtomicInt &atomic) |
| |
|
static QByteArray | sha1Hash (const QByteArray &data, bool *ok) |
| |
|
static QByteArray | sha256Hash (const QByteArray &data, bool *ok) |
| |
|
static QByteArray | sha512Hash (const QByteArray &data, bool *ok) |
| |
|
static QByteArray | shaXHash (const int algorithm, const QByteArray &data, bool *ok) |
| |
|
static QByteArray | shake256 (const QByteArray &buffer, const size_t length, bool *ok) |
| |
|
static QByteArray | strongRandomBytes (const size_t size) |
| |
|
static QByteArray | veryStrongRandomBytes (const size_t size) |
| |
|
static QByteArray | weakRandomBytes (const size_t size) |
| |
|
static QByteArray | whirlpoolHash (const QByteArray &data, bool *ok) |
| |
|
static QList< QSslCipher > | defaultSslCiphers (const QString &sslControlString) |
| |
|
static QString | publicKeyAlgorithm (const QByteArray &data) |
| |
|
static QString | publicKeySize (const QByteArray &data) |
| |
|
static QString | publicKeySizeMcEliece (const QByteArray &data) |
| |
|
static QString | publicKeySizeNTRU (const QByteArray &data) |
| |
|
static QStringList | buzzHashTypes (void) |
| |
|
static QStringList | cipherTypes (void) |
| |
|
static QStringList | congestionHashAlgorithms (void) |
| |
|
static QStringList | hashTypes (void) |
| |
|
static bool | exists (const QByteArray &publicKey, spoton_crypt *crypt) |
| |
|
static bool | hasShake (void) |
| |
|
static bool | isValidSignature (const QByteArray &data, const QByteArray &publicKey, const QByteArray &signature) |
| |
|
static bool | memcmp (const QByteArray &bytes1, const QByteArray &bytes) |
| |
|
static bool | passphraseSet (void) |
| |
|
static size_t | cipherKeyLength (const QByteArray &cipherType) |
| |
|
static size_t | ivLength (const QString &cipherType) |
| |
|
static void | generateMcElieceKeys (const QString &keySize, QByteArray &privateKey, QByteArray &publicKey, bool *ok) |
| |
|
static void | generateNTRUKeys (const QString &keySize, QByteArray &privateKey, QByteArray &publicKey, bool *ok) |
| |
|
static void | generateSslKeys (const int rsaKeySize, QByteArray &certificate, QByteArray &privateKey, QByteArray &publicKey, const QHostAddress &address, const long int days, QString &error) |
| |
|
static void | init (const int secureMemorySize, const bool cbc_cts_enabled) |
| |
|
static void | memcmp_test (void) |
| |
|
static void | purgeDatabases (void) |
| |
|
static void | reencodePrivatePublicKeys (spoton_crypt *newCrypt, spoton_crypt *oldCrypt, const QString &id, QString &error) |
| |
|
static void | removeFlawedEntries (spoton_crypt *crypt) |
| |
|
static void | setSslCiphers (const QList< QSslCipher > &ciphers, const QString &sslControlString, QSslConfiguration &configuration) |
| |
|
static void | terminate (void) |
| |